﻿// Copyright (c) MichaConrad. All rights reserved. See License.txt in the project root for license information.

namespace LinqToLdapExtensions
{
    using System;

    /// <summary>
    /// The scope state defines the type of the scope to be used by <see cref="IDirectoryContextFactory"/>.
    /// </summary>
    public enum ScopeState
    {
        /// <summary>
        /// Web context will use HttpContext as the store for scoping directory context instances.
        /// </summary>
        WebContext,

        /// <summary>
        /// Thread static will use the <see cref="ThreadStaticAttribute"/> for scoping directory context instances.
        /// </summary>
        ThreadStatic,
    }
}
